package cn.com.hd.mall.web.webservices.entity.request.shoppingcart;

import java.util.List;

import cn.com.hd.mall.web.webservices.entity.BaseRequest;

@SuppressWarnings("serial")
public class CreateOrderRequest extends BaseRequest {
    /**
     * 支付方式
     */
    private String payWay;
    /**
     * 短信验证码
     */
    private String verfyCode;
    private String orderTotalAmt;
    private InvoiceBean invoice;
    /**
     * 地址模型
     */
    private DeliverAddressBean deliverAddress;
    /**
     * 优惠券模型  注意现在已经改成红包
     */
    private List<CouponListBean> couponList;
    /**
     * 卖家模型 内含商品模型
     */
    private List<SellerListBean> sellerList;

    public String getVerfyCode() {
        return verfyCode;
    }

    public void setVerfyCode(String verfyCode) {
        this.verfyCode = verfyCode;
    }

    public String getOrderTotalAmt() {
        return orderTotalAmt;
    }

    public void setOrderTotalAmt(String orderTotalAmt) {
        this.orderTotalAmt = orderTotalAmt;
    }

    public DeliverAddressBean getDeliverAddress() {
        return deliverAddress;
    }

    public void setDeliverAddress(DeliverAddressBean deliverAddress) {
        this.deliverAddress = deliverAddress;
    }

    public InvoiceBean getInvoice() {
        return invoice;
    }

    public void setInvoice(InvoiceBean invoice) {
        this.invoice = invoice;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public List<CouponListBean> getCouponList() {
        return couponList;
    }

    public void setCouponList(List<CouponListBean> couponList) {
        this.couponList = couponList;
    }

    public List<SellerListBean> getSellerList() {
        return sellerList;
    }

    public void setSellerList(List<SellerListBean> sellerList) {
        this.sellerList = sellerList;
    }

    public static class DeliverAddressBean {
        private String deliverAddress;
        private String deliverMobile;
        private String deliverPerson;

        public String getDeliverAddress() {
            return deliverAddress;
        }

        public void setDeliverAddress(String deliverAddress) {
            this.deliverAddress = deliverAddress;
        }

        public String getDeliverMobile() {
            return deliverMobile;
        }

        public void setDeliverMobile(String deliverMobile) {
            this.deliverMobile = deliverMobile;
        }

        public String getDeliverPerson() {
            return deliverPerson;
        }

        public void setDeliverPerson(String deliverPerson) {
            this.deliverPerson = deliverPerson;
        }
    }

    public static class InvoiceBean {
        private String invoiceId;
        private String invoiceType;
        private String needInvoice;
        private String invoiceHeader;

        public String getInvoiceId() {
            return invoiceId;
        }

        public void setInvoiceId(String invoiceId) {
            this.invoiceId = invoiceId;
        }

        public String getInvoiceType() {
            return invoiceType;
        }

        public void setInvoiceType(String invoiceType) {
            this.invoiceType = invoiceType;
        }

        public String getNeedInvoice() {
            return needInvoice;
        }

        public void setNeedInvoice(String needInvoice) {
            this.needInvoice = needInvoice;
        }

        public String getInvoiceHeader() {
            return invoiceHeader;
        }

        public void setInvoiceHeader(String invoiceHeader) {
            this.invoiceHeader = invoiceHeader;
        }
    }

    public static class CouponListBean {
        private String couponCode;
        private String couponAmt;
        private String couponUseAmt;

        public String getCouponCode() {
            return couponCode;
        }

        public void setCouponCode(String couponCode) {
            this.couponCode = couponCode;
        }

        public String getCouponAmt() {
            return couponAmt;
        }

        public void setCouponAmt(String couponAmt) {
            this.couponAmt = couponAmt;
        }

        public String getCouponUseAmt() {
            return couponUseAmt;
        }

        public void setCouponUseAmt(String couponUseAmt) {
            this.couponUseAmt = couponUseAmt;
        }
    }

    public static class SellerListBean {
        private String sellerId;
        private String sellerName;
        // 经销商最高支付比
        private String dealerPayRatio;
        private String isYijipayAccount;
        private String paymentFlag;
        private String codFlag;
        private String supportVatInvoice;
        private String comment;
        private List<DealerCouponListBean> dealerCouponList;
        private List<MerchListBean> merchList;

        public String getSellerId() {
            return sellerId;
        }

        public void setSellerId(String sellerId) {
            this.sellerId = sellerId;
        }

        public String getSellerName() {
            return sellerName;
        }

        public void setSellerName(String sellerName) {
            this.sellerName = sellerName;
        }

        public String getDealerPayRatio() {
            return dealerPayRatio;
        }

        public void setDealerPayRatio(String dealerPayRatio) {
            this.dealerPayRatio = dealerPayRatio;
        }

        public String getIsYijipayAccount() {
            return isYijipayAccount;
        }

        public void setIsYijipayAccount(String isYijipayAccount) {
            this.isYijipayAccount = isYijipayAccount;
        }

        public String getPaymentFlag() {
            return paymentFlag;
        }

        public void setPaymentFlag(String paymentFlag) {
            this.paymentFlag = paymentFlag;
        }

        public String getCodFlag() {
            return codFlag;
        }

        public void setCodFlag(String codFlag) {
            this.codFlag = codFlag;
        }

        public String getSupportVatInvoice() {
            return supportVatInvoice;
        }

        public void setSupportVatInvoice(String supportVatInvoice) {
            this.supportVatInvoice = supportVatInvoice;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public List<DealerCouponListBean> getDealerCouponList() {
            return dealerCouponList;
        }

        public void setDealerCouponList(List<DealerCouponListBean> dealerCouponList) {
            this.dealerCouponList = dealerCouponList;
        }

        public List<MerchListBean> getMerchList() {
            return merchList;
        }

        public void setMerchList(List<MerchListBean> merchList) {
            this.merchList = merchList;
        }

        public static class DealerCouponListBean {
            //经销商红包编号
            private String dealerCouponCode;
            //经销商红包金额
            private String dealerCouponAmt;
            //经销商红包抵扣金额
            private String dealerCouponUseAmt;

            public String getDealerCouponCode() {
                return dealerCouponCode;
            }

            public void setDealerCouponCode(String dealerCouponCode) {
                this.dealerCouponCode = dealerCouponCode;
            }

            public String getDealerCouponAmt() {
                return dealerCouponAmt;
            }

            public void setDealerCouponAmt(String dealerCouponAmt) {
                this.dealerCouponAmt = dealerCouponAmt;
            }

            public String getDealerCouponUseAmt() {
                return dealerCouponUseAmt;
            }

            public void setDealerCouponUseAmt(String dealerCouponUseAmt) {
                this.dealerCouponUseAmt = dealerCouponUseAmt;
            }
        }

        public static class MerchListBean {
            private String id;
            private String merchId;
            private String merchBarCode;
            private String promotionId;
            private String promotionType;
            private String reductionFlg;
            private String promotionDetail;
            private String ruleId;
            private DealerBenefitBean dealerBenefit;
            private List<LimitRuleListBean> limitRuleList;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMerchId() {
                return merchId;
            }

            public void setMerchId(String merchId) {
                this.merchId = merchId;
            }

            public String getMerchBarCode() {
                return merchBarCode;
            }

            public void setMerchBarCode(String merchBarCode) {
                this.merchBarCode = merchBarCode;
            }

            public String getPromotionId() {
                return promotionId;
            }

            public void setPromotionId(String promotionId) {
                this.promotionId = promotionId;
            }

            public String getPromotionType() {
                return promotionType;
            }

            public void setPromotionType(String promotionType) {
                this.promotionType = promotionType;
            }

            public String getReductionFlg() {
                return reductionFlg;
            }

            public void setReductionFlg(String reductionFlg) {
                this.reductionFlg = reductionFlg;
            }

            public String getPromotionDetail() {
                return promotionDetail;
            }

            public void setPromotionDetail(String promotionDetail) {
                this.promotionDetail = promotionDetail;
            }

            public String getRuleId() {
                return ruleId;
            }

            public void setRuleId(String ruleId) {
                this.ruleId = ruleId;
            }

            public DealerBenefitBean getDealerBenefit() {
                return dealerBenefit;
            }

            public void setDealerBenefit(DealerBenefitBean dealerBenefit) {
                this.dealerBenefit = dealerBenefit;
            }

            public List<LimitRuleListBean> getLimitRuleList() {
                return limitRuleList;
            }

            public void setLimitRuleList(List<LimitRuleListBean> limitRuleList) {
                this.limitRuleList = limitRuleList;
            }

            public static class DealerBenefitBean {
                private String couponCode;
                private String couponAmt;
                private String couponUseAmt;

                public String getCouponCode() {
                    return couponCode;
                }

                public void setCouponCode(String couponCode) {
                    this.couponCode = couponCode;
                }

                public String getCouponAmt() {
                    return couponAmt;
                }

                public void setCouponAmt(String couponAmt) {
                    this.couponAmt = couponAmt;
                }

                public String getCouponUseAmt() {
                    return couponUseAmt;
                }

                public void setCouponUseAmt(String couponUseAmt) {
                    this.couponUseAmt = couponUseAmt;
                }
            }
        }
    }
}
